package com.baizhi.mapper;

import com.baizhi.entity.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import javax.jws.soap.SOAPBinding;
import java.util.List;

@Mapper
public interface UserMapper {
    //1级查询
    List<User> selectAllUserAndOneComment();
    //2级查询
    List<User> selectUserAndTwoComment(Integer id);
}
